[XEND] Reverting self.domains UUID indexing
authorAlastair Tse <atse@xensource.com>
Thu, 2 Nov 2006 18:51:23 +0000 (18:51 +0000)
committerAlastair Tse <atse@xensource.com>
Thu, 2 Nov 2006 18:51:23 +0000 (18:51 +0000)
commit3fc456d6c8bf2100304f19b1f6f8508b3949dcef
tree3b111305bfaab73adaf1067ba27b9ef9c731b2a6
parent20c0ef90f1abda9bb15dcf3afb964d72fbc2249c
[XEND] Reverting self.domains UUID indexing

Due to localhost migration, it is possible to have two VMs with the
same UUID on the same host. So instead, we revert back to XendDomain
where there are two lists, a "domains" of active domains indexed by
domid and a "managed_domains" which is a list of all domains whose
lifecycle is managed by Xend.

Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py